<?php
class Event extends AppModel{

	var $name = 'Event';

	var $belongsTo = array(
		'Category' => array(
			'className'	=> 'Category',
			'foreignKey'	=> 'category_id'
		)
	);

	var $hasMany = array(
		'EventDate' => array(
			'className'	=> 'EventDate',
			'foreignKey'	=> 'event_id'
		)
	);

}
?>

